package com.retirement.staff.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author lijy
 * @since 2023-12-28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("old_staff")
@ApiModel(value = "OldStaff对象", description = "")
public class OldStaff implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("表id")
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("年龄")
    private String age;

    @ApiModelProperty("员工照片")
    private String image;

    @ApiModelProperty("联系方式")
    private String iphone;

    @ApiModelProperty("名族")
    private String nationality;

    @ApiModelProperty("籍贯")
    private String natived;

    @ApiModelProperty("政治面貌")
    private String politica;

    @ApiModelProperty("学历")
    private String degree;

    @ApiModelProperty("专业")
    private String speciality;

    @ApiModelProperty("婚姻状态")
    private String marriage;

    @ApiModelProperty("身份证")
    private String identity;

    @ApiModelProperty("现住址")
    private String address;

    @ApiModelProperty("创建时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("编辑时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss", iso = DateTimeFormat.ISO.DATE)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

    @ApiModelProperty("是否删除")
    private Integer deleted;


}
